<%--
  Created by IntelliJ IDEA.
  User: 张棋
  Date: 2024/7/26
  Time: 17:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>
  <%!
    //声明部分
    int a = 10;
    public int sum(int a, int b){
      return a+b;
    }
  %>
  <%
    //servlet service
    for(int i = 0; i<50;i++){
      out.print("了解Jsp的开发！<br>");
    }

  %>
  <h1><%=a%>></h1>
  </body>
</html>
